package IHM;

import java.awt.*;

import javax.swing.*;

/* Composant machine */
public class MachineGraphique implements DimensionIHM {


	public JRadioButton boutonMachine;
	
	public String name;
	
	public int NbBoutonRond;
	
	/* Informations d'etat d'une machine */
	public BoutonRond InfoCpu,InfoMemory,InfoDisqueDur,InfoConnecte,InfoOS;
	
	
	public MachineGraphique(String name,int i){
	
		this.name = name;
		
		boutonMachine = new JRadioButton(name);
		
		//boutonMachine.setBounds(i*80,10,100,100);
		
		this.NbBoutonRond = 5;
		
		InfoCpu = new BoutonRond(i,0);
		InfoMemory = new BoutonRond(i,1);
		InfoDisqueDur = new BoutonRond(i,2);
		InfoOS = new BoutonRond(i,3);
		InfoConnecte = new BoutonRond(i,4);
	
		
		
	}
	
	
	
	
	
}
